home *** CD-ROM | disk | FTP | other *** search
/ OPUS 2 / Opus II - The Software.bin / GS-24 MPW-IIGS ORCA⁄C / ORCACDefs / video.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-08-08  |  4.1 KB  |  123 lines  |  [TEXT/pdos]

  1. /********************************************
  2. *
  3. * Video Overlay Tool Set
  4. *
  5. * Copyright Apple Computer, Inc.1986-90
  6. * All Rights Reserved
  7. *
  8. * Copyright 1992, Byte Works, Inc.
  9. *
  10. ********************************************/
  11.  
  12. #ifndef __TYPES__
  13. #include <TYPES.h>
  14. #endif
  15.  
  16. #ifndef __VIDEO__
  17. #define __VIDEO__
  18.  
  19. #define vdVideoOverlay 0x01
  20. #define vdFrameGrabber 0x02
  21. #define vdInVStandards 0x03
  22. #define vdOutVStandards 0x04
  23. #define vdKeyDissLevels 0x05
  24. #define vdNKeyDissLevels 0x06
  25. #define vdAdjSideEffect 0x07
  26. #define vdKeyColorBits 0x08
  27. #define vdInHueAdj 0x09
  28. #define vdInSatAdj 0x0A
  29. #define vdInContrastAdj 0x0B
  30. #define vdInBrightAdj 0x0C
  31. #define vdOutSetup 0x0D
  32. #define vdOutChromaFltr 0x0E
  33. #define vdOutExtBlank 0x0F
  34. #define vdKeyEnhDiss 0x10
  35. #define vdLineInterrupt 0x11
  36. #define vdGGBus 0x12
  37. #define vdDualOut 0x13
  38. #define vdTextMonoOver 0x14
  39. #define vdGenlock 0x32
  40. #define vdVideoDetect 0x33
  41. #define vdGenlocked 0x34
  42. #define vdAdjInc 0x50
  43. #define vdAdjDec 0x51
  44. #define vdAdjSave 0x52
  45. #define vdAvail 0x01
  46. #define vdNotAvail 0x00
  47. #define vdYes 0x01
  48. #define vdNo 0x00
  49. #define vdOn 0x01
  50. #define vdOff 0x00
  51. #define vdNil 0x00
  52. #define vdFalse 0x00
  53. #define vdTrue 0x01
  54. #define vdKColorEnable 0x64
  55. #define vdVerticalBlank 0x82
  56. #define vdMainPageLin 0xC8
  57. #define vdRAMPageSel 0xC9
  58. #define vdVBLInterrupt 0xCA
  59. #define vdInterlaceMode 0xCB
  60. #define vdClearVBLInt 0xCC
  61. #define vdClearLineInt 0xCD
  62. #define vdDisplayField 0xCE
  63. #define vdVBLIntRequest 0xCF
  64. #define vdLineIntRequest 0xD0
  65. #define vdNone 0x00
  66. #define vdNTSC 0x01
  67. #define vdPAL 0x02
  68. #define vdSECAM 0x04
  69. #define vdSNTSC 0x08
  70. #define vdSPAL 0x10
  71. #define vdSSECAM 0x20
  72. #define vdRGB60 0x40
  73. #define vdRGB50 0x80
  74. #define vdAux 0x00
  75. #define vdMain 0x10
  76. #define vdInterlace 0x30
  77. #define vdField1 0x01
  78. #define vdField0 0x00
  79. #define vdEnable 0x01
  80. #define vdDisable 0x00
  81. #define vdExternal 0x00
  82. #define vdGraphics 0x01
  83. #define vdVBlank 0x01
  84. #define vdActiveVideo 0x00
  85.  
  86. /* Error Codes */
  87. #define vdNoVideoDevice 0x2110          /* no video device was found */
  88. #define vdAlreadyStarted 0x2111         /* Video tool set already started */
  89. #define vdInvalidSelector 0x2112        /* an invalid selector was specified */
  90. #define vdInvalidParam 0x2113           /* an invalid parameter was specified */
  91. #define vdUnImplemented 0x21FF          /* an unimplemented tool set routine was called */
  92.  
  93. extern pascal void VDBootInit(void) inline(0x0121,dispatcher);
  94. extern pascal void VDStartUp(void) inline(0x0221,dispatcher);
  95. extern pascal void VDShutDown(void) inline(0x0321,dispatcher);
  96. extern pascal Word VDVersion(void) inline(0x0421,dispatcher);
  97. extern pascal void VDReset(void) inline(0x0521,dispatcher);
  98. extern pascal Boolean VDStatus(void) inline(0x0621,dispatcher);
  99. extern pascal Word VDGetFeatures(Word) inline(0x1B21,dispatcher);
  100. extern pascal void VDGGControl(Word, Word) inline(0x1D21,dispatcher);
  101. extern pascal Word VDGGStatus(Word) inline(0x1E21,dispatcher);
  102. extern pascal void VDInControl(Word, Word) inline(0x1C21,dispatcher);
  103. extern pascal void VDInConvAdj(Word, Word) inline(0x0C21,dispatcher);
  104. extern pascal Word VDInGetStd(void) inline(0x0B21,dispatcher);
  105. extern pascal void VDInSetStd(Word) inline(0x0A21,dispatcher);
  106. extern pascal Word VDInStatus(Word) inline(0x0921,dispatcher);
  107. extern pascal void VDKeyControl(Word, Word) inline(0x0D21,dispatcher);
  108. extern pascal Word VDKeyGetKBCol(void) inline(0x1221,dispatcher);
  109. extern pascal Word VDKeyGetKDiss(void) inline(0x1421,dispatcher);
  110. extern pascal Word VDKeyGetKGCol(void) inline(0x1121,dispatcher);
  111. extern pascal Word VDKeyGetKRCol(void) inline(0x1021,dispatcher);
  112. extern pascal Word VDKeyGetNKDiss(void) inline(0x1621,dispatcher);
  113. extern pascal void VDKeySetKCol(Word, Word, Word) inline(0x0F21,dispatcher);
  114. extern pascal void VDKeySetKDiss(Word) inline(0x1321,dispatcher);
  115. extern pascal void VDKeySetNKDiss(Word) inline(0x1521,dispatcher);
  116. extern pascal Word VDKeyStatus(Word) inline(0x0E21,dispatcher);
  117. extern pascal void VDOutControl(Word, Word) inline(0x1921,dispatcher);
  118. extern pascal Word VDOutGetStd(void) inline(0x1821,dispatcher);
  119. extern pascal void VDOutSetStd(Word) inline(0x1721,dispatcher);
  120. extern pascal Word VDOutStatus(Word) inline(0x1A21,dispatcher);
  121.  
  122. #endif
  123.